package com.ouheng.shop.service;

import com.ouheng.shop.domain.OhOrderDO;

import java.util.List;
import java.util.Map;

/**
 * 订单
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-09-06 09:49:40
 */
public interface OhOrderService {
	
	OhOrderDO get(Long id);
	
	List<OhOrderDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OhOrderDO ohOrder);
	
	int update(OhOrderDO ohOrder);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	String orderProductNameAndNumber(Long id);
	
	List<OhOrderDO> listOhOrderByIds(Long[] ids);
	
	List<OhOrderDO> listReturnMoeny(Map<String,Object> map);
	
	int returnMoenyCount(Map<String,Object> map);
	
	int finish(Long id);
	
	List<OhOrderDO> listOrderByMemberid(Map<String,Object> map);
	
	int listOrderByMemberidCount(Map<String,Object> map);
	
	List<OhOrderDO> listOrder(Map<String,Object> map);
	
	List<OhOrderDO> listByStatus(Map<String,Object> map);
	
	int countByStatus(Map<String,Object> map);
}
